<?php

namespace BaseBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * AgentApply
 *
 * @ORM\Table(name="agent_apply", options={"comment":"代理申请表"})
 * @ORM\Entity()
 */
class AgentApply
{
    
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var User
     *
     * @ORM\ManyToOne(targetEntity="BaseBundle\Entity\User", inversedBy="id")
     * @ORM\JoinColumn(name="user_id", referencedColumnName="id")
     */
    private $user;

    /**
     * @var string
     *
     * @ORM\Column(name="company_name", type="string", length=45,  options={"comment":"公司名称"})
     */
    private $company_name;

    /**
     * @var string
     *
     * @ORM\Column(name="business_license", type="string", length=255, options={"comment":"营业执照"})
     */
    private $business_license;

    /**
     * @var string
     *
     * @ORM\Column(name="main_product", type="string", length=45,  options={"comment":"主营产品"})
     */
    private $main_product;

    /**
     * @var string
     *
     * @ORM\Column(name="product_img", type="string", length=255, nullable=true,  options={"comment":"产品图片"})
     */
    private $product_img;

    /**
     * @var string
     *
     * @ORM\Column(name="product_presentation", type="string", length=255, options={"comment":"产品简介"})
     */
    private $product_presentation;

    /**
     * @var string
     *
     * @ORM\Column(name="contact_way", type="string", length=13,  options={"comment":"联系方式"})
     */
    private $contact_way;

    /**
     * @var string
     *
     * @ORM\Column(name="qq", type="string", length=21, nullable=true, options={"comment":"qq"})
     */
    private $qq;

    /**
     * @var string
     *
     * @ORM\Column(name="wx_number", type="string", length=45,  options={"comment"="wx号"})
     */
    private $wx_number;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created_at", type="datetime", options={"comment":"创建时间"})
     */
    private $createdAt;
}
